package org.jeecg.modules.stoneentry.service;

import java.util.List;
import java.util.Map;

import org.jeecg.modules.stoneentry.entity.StoneEntry;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description:  石出入库
 * @Author: jerryzhu
 * @Date:   2021-11-15
 * @Version: V1.0
 */
public interface IStoneEntryService extends IService<StoneEntry> {
	
	/**查询金出入库明细分页*/
	IPage<StoneEntry> selectStoneEntryPage(Page<StoneEntry> page, QueryWrapper<StoneEntry> queryWrapper);

	/**查询仓库库存数据列表，不分页*/
	List<StoneEntry> getStoneEntryStorageSummaryList(String storgeId);
	
	/**查询员工库存数据列表，不分页*/
	List<StoneEntry> getStoneEntryPersonSummaryList(String userName);

	/**获取仓库名字*/
	String getStorageName(String id);

	/**通过石卡号获取石卡信息*/
	Map<String, String> queryStoneCardInfoByCodeNum(String codeNum);
	
	/**通过石号获取石号信息*/
	Map<String, String> queryStoneStyleByStoneNum(String stoneNum);
}
